﻿using System;
using System.ComponentModel.DataAnnotations;

namespace W2R.Core.Models.Entities
{
    /// <summary>
    /// Represents a user entity
    /// </summary>
    public class User : BaseEntity<Guid>
    {
        #region Constructor

        public User()
            : base()
        {
        }

        #endregion

        #region Properties

        /// <summary>
        /// User's name
        /// </summary>
        [Required, StringLength(100)]
        public string Name { get; set; }

        #endregion
    }
}
